<div class="ysleft">
<div id="tab">
<ul>
<?php if(DEDE_FILE =='search'){?>
        <li><a href="search.php?q=<?php echo ($q);?>&amp;h=<?php echo $h;?>&amp;status=1" <?php if($status ==1 || $status == null) echo "class='hover'";?>>全部问题</a></li>
        <li><a href="search.php?q=<?php echo ($q);?>&amp;h=<?php echo $h;?>&amp;status=2"  <?php if($status ==2) echo "class='hover'";?>>待解决问题</a></li>
        <li><a href="search.php?q=<?php echo ($q);?>&amp;h=<?php echo $h;?>&amp;status=3" <?php if($status ==3) echo "class='hover'";?>>精彩推荐</a></li>
<?php }else if(DEDE_FILE =='browser'){?>
        <li><a href="browser.php?<?php echo $qc;?>&amp;m=1" <?php if($m ==1 || $m == null) echo "class='hover'";?>>全部问题</a></li>
        <li><a href="browser.php?<?php echo $qc;?>&amp;m=2" <?php if($m ==2) echo "class='hover'";?>>待解决问题</a></li>
        <li><a href="browser.php?<?php echo $qc;?>&amp;m=3" <?php if($m ==3) echo "class='hover'";?>>精彩推荐</a></li>
<?php }?>
    </ul>
</div> 
<div class="quanbuwt">
<?php if($samejishu && (empty($_GET['page']) || $_GET['page'] == 1)){?>
	<div class="footer">
		  <ul>
	<?php foreach($samejishu as $n){?>
		<?php if($n['redirecturl']){?>
			<li><a href="<?php echo $n[redirecturl]?>" title="<?php echo $n[title]?>"><?php echo $n[title]?></a></li>
			<li><span><?php echo $n[description]?></span></li>
		<?php }else{ ?>
			<li><a title="<?php echo $n[title]?>" href="show.php?id=<?php echo $n[id]?>&amp;type=skill"><?php echo $n[title]?></a></li>
			<li><span><?php echo $n[description]?></span></li>
		<?php }?> 
	<?php }?>	
		  </ul>
	</div>
<?php }?>
<ul id="content1jzpu" class="show">
<?php 
foreach($asks as $ask){
?>
<li>
    <div class="ysall01tt">
      <div class="jsjieshaott">
        <h1 class="ysmingzitt"><a href="question.php?id=<?php echo $ask['id'];?>"><?php echo $ask['title'];?></a></h1>
       
        <div class="jishujstt"><?php echo $ask['content'];?></div>
  <div class="tiwennav"><span class="tiwenren"><?php echo empty($ask[uid])?'匿名':$ask[userid];?></span> <span class="tiwendate"><?php echo $ask[dateline];?></span> <span class="tiwenfeilei">[<?php echo empty($ask[tidname]) ? '出错':$ask[tidname];?>＞<?php echo $ask[tid2name];?> ]</span></div>
  </div></div>
</li>
<?php }?>
</ul>
<div class="fanye"><?php echo $multipage;?></div>

</div>

</div>